package top.shaozuo.simple.configuration.microprofile.config.converts;

import org.eclipse.microprofile.config.spi.Converter;

public class ShortConverter implements Converter<Short> {

    /**
     * 
     */
    private static final long serialVersionUID = -6490341344508922866L;
    public static final ShortConverter INSTANCE = new ShortConverter();

    @Override
    public Short convert(String value) {
        return value != null ? Short.valueOf(value) : null;
    }
}